// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Vuex from 'vuex'
import Cube from 'cube-ui'
import App from './App'
import router from './router'
import './assets/styles/reset.css'//保证所有手机的样式统一
import './assets/styles/border.css'//解决高像素手机一像素边框的问题
import store from './store'
// import './assets/styles/reset.css'//使用rem
import './assets/styles/iconfont.css'//使用iconfont
import './assets/fonts/font.css' //自定义字体
import fastClick from 'fastclick' //解决移动设备点击事件300ms延时的问题
import '@/global/rem'

//vue awesome swiper import
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false

//解决延迟
fastClick.attach(document.body)
//vue awesome swipper use
Vue.use(VueAwesomeSwiper, /* { default global options } */)
Vue.use(Cube)
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
